/*
 * Powered By 
 * Since 2010 - 2016
 */

package com.rf.business.service;

import java.util.List;
import java.util.Map;

import com.rf.sys.utils.PageUtils;
import com.rf.business.model.CardRelease;

public interface CardReleaseService{
	
	/**
	 * 根据id获取数据
	 * @param cardReleaseId
	 * @return CardRelease
	 */
	public CardRelease getCardReleaseByID(String id
) throws Exception;
	
	/**
	 * 根据CardRelease获取数据
	 * @param CardRelease
	 * @return List<CardRelease>
	 */
	public List<CardRelease> getCardRelease(CardRelease cardRelease) throws Exception;
	
	/**
	 * 获取所有数据
	 * @param 
	 * @return List<CardRelease>
	 */
	public List<CardRelease> getCardRelease() throws Exception;
	
	/**
	 * 保存信息
	 * @param CardRelease
	 * @return
	 */
	public void addCardRelease(CardRelease cardRelease) throws Exception;
	
	/**
	 * 修改数据
	 * @param CardRelease
	 * @return
	 */
	public void updateCardRelease(CardRelease cardRelease) throws Exception;
	
	/**
	 * 删除数据
	 * @param cardReleaseId
	 * @return
	 */
	public void deleteCardRelease(String id
) throws Exception;
	
	/**
	 * 获取数据分页
	 * @param CardRelease
	 * @param pageUtils
	 * @return Map
	 */
	public Map getCardReleasePage(CardRelease cardRelease,PageUtils pageUtils) throws Exception;

	/**
	 * 根据carNo获取数据
	 * @param carNo
	 * @return CardRelease
	 */
	public CardRelease getCardReleaseByCarNo(String carNo) throws Exception;
}
